//
//  FLMTaoBaoOrderModel.h
//  FLMSuperS
//
//  Created by xiaoyang on 16/10/11.
//  Copyright © 2016年 FaLaoMiaoNetworkTechnologyCo. All rights reserved.


///  淘宝订单模型
#import <Foundation/Foundation.h>

@class FLMOrderslistModel;

typedef NS_ENUM(NSUInteger, FLMOrderType){
    FLMOrderTaoBaoType = 1,//淘宝
    FLMOrderTanMaoType = 2//天猫
};

typedef NS_ENUM(NSUInteger, FLMOrderStatusType){
    FLMOrderStatusCreateType = 0,//订单创建
    FLMOrderStatusPayType = 1,//订单付款
    FLMOrderStatusSuccessType = 2,//订单成功
    FLMOrderStatusSettlementType = 3,//订单结算
    FLMOrderStatusFailType = 4//订单失效
};

/**
 *  响应参数
 */
@interface FLMTaoBaoOrderModel : NSObject

@property (copy, nonatomic) NSString *succ;

@property (nonatomic, strong) FLMOrderslistModel *msg;

@end

/**
 *  模型数组
 */
@interface FLMOrderslistModel : NSObject
/** 订单数组 */
@property (strong, nonatomic) NSArray *Orderslist;


@end

/**
 *  响应参数
 */
@interface FLMOrdersModel : NSObject

/** 订单ID */
@property (nonatomic, copy) NSString *order_id;

/** 商品标题 */
@property (nonatomic, copy) NSString *title;

/** 下单时间 */
@property (nonatomic, copy) NSString *porder_time;

/** 商品主图地址 */
@property (nonatomic, copy) NSString *pict_url;

/** 淘宝客链接 */
@property (nonatomic, copy) NSString *click_url;

/** 实际付款金额 */
@property (nonatomic, copy) NSString *pay;

/** 对应super币 */
@property (nonatomic, copy) NSString *super_money;

/** 购买数量 */
@property (nonatomic, copy) NSString *buynum;

@end